package com.sora.educenter.service;

import com.sora.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sora.educenter.entity.vo.LoginVo;
import com.sora.educenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author sora
 * @since 2023-01-12
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    /**
     * 登录
     * @param loginVo
     * @return
     */
    String login(LoginVo loginVo);

    /**
     * 注册用户
     * @param registerVo
     */
    void register(RegisterVo registerVo);

    /**
     * 根据日期，获取那天注册人数
     * @param day
     * @return
     */
    Integer getCountRegister(String day);
}
